Pronamic\WordPress\Pay\Subscriptions\SubscriptionPhase A

Total Complexity 69
Dependencies 11
Dependents 8
Total lines 654
Lines of code 255
Logical lines of code 120
Comment lines 289
Methods 36
Properties 10

Methods 36

Method Rating Maintainability Complexity Lines of code
from_json()
A
43 15 48
align()
S
51 5 26
jsonSerialize()
S
50 3 29
get_next_period()
S
62 3 12
get_next_date()
S
67 3 9
all_periods_created()
S
65 3 10
get_periods_created()
S
62 2 12
add_interval()
S
71 2 6
set_end_date()
S
78 2 3
next_period()
S
68 2 8
get_total_periods()
S
68 2 7
set_total_periods()
S
78 2 3
get_periods_remaining()
S
66 2 8
get_interval()
S
82 1 3
set_alignment_rate()
S
81 1 3
is_infinite()
S
80 1 3
set_trial()
S
81 1 3
is_trial()
S
82 1 3
set_prorated()
S
81 1 3
is_prorated()
S
82 1 3
__construct()
S
67 1 8
get_alignment_rate()
S
82 1 3
is_alignment()
S
80 1 3
get_subscription()
S
82 1 3
set_amount()
S
81 1 3
get_amount()
S
82 1 3
set_canceled_at()
S
81 1 3
get_canceled_at()
S
82 1 3
is_canceled()
S
80 1 3
set_next_date()
S
81 1 3
get_end_date()
S
82 1 3
set_start_date()
S
80 1 3
get_start_date()
S
82 1 3
set_sequence_number()
S
81 1 3
get_sequence_number()
S
82 1 3
set_periods_created()
S
79 1 3